package com.example.adms.message.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author hyt
 * @since 2023-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("message")
public class Message implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("message_id")
    private Integer messageId;

    @TableField("sender")
    private String sender;

    @TableField("receiver")
    private String receiver;

    @TableField("msg")
    private String msg;

    @TableField("read")
    private Integer read;
}
